Result Previewer

The SearchResult control can provide an AJAX based preview of a search result without the user having to leave the results page (the preview text is customizable). Please also see the code example.

.NET 4

To enable the previewer, set the ResultPreviewerEnabled property of the SearchResult control to True.

Usually performed automatically: If the controls are opened in the VS designer, then the web.config will be amended with the required code. If this doesn't occur, then the web.config must be opened and the following changes made:

IIS 6

Add inside the system.web section.
<httpHandlers>
       <add verb="*" path="Keyoti.SearchEngine.Web.CallBackHandler.ashx" 
		 type="Keyoti.SearchEngine.Web.CallBackHandler,Keyoti4.SearchEngine.Web, 
			Version=2010.?.?.?, Culture=neutral, PublicKeyToken=58d9fd2e9ec4dc0e"/>
</httpHandlers>
where 2010.?.?.? should be replaced with the version number of the Keyoti4.SearchEngine.Web DLL.

IIS 7

Add inside the system.webServer section.
<staticContent>
	<mimeMap mimeType="text/html" fileExtension=".ashx"/>
</staticContent>
<handlers>
	<add name="Keyoti_SearchEngine_Web_CallBackHandler_ashx" verb="*" preCondition="integratedMode" 
	path="Keyoti.SearchEngine.Web.CallBackHandler.ashx" 
	type="Keyoti.SearchEngine.Web.CallBackHandler, Keyoti4.SearchEngine.Web,
	Version=2010.?.?.?, Culture=neutral, PublicKeyToken=58d9fd2e9ec4dc0e"/>
</handlers>
where 2010.?.?.? should be replaced with the version number of the Keyoti4.SearchEngine.Web DLL.

.NET 2, 3, 3.5

To enable the previewer, set the ResultPreviewerEnabled property of the SearchResult control to True.

Usually performed automatically: If the controls are opened in the VS designer, then the web.config will be amended with the required code. If this doesn't occur, then the web.config must be opened and the following changes made:

IIS 6

Add inside the system.web section.
<httpHandlers>
       <add verb="*" path="Keyoti.SearchEngine.Web.CallBackHandler.ashx" 
		 type="Keyoti.SearchEngine.Web.CallBackHandler,Keyoti2.SearchEngine.Web, 
			Version=2010.?.?.?, Culture=neutral, PublicKeyToken=58d9fd2e9ec4dc0e"/>
</httpHandlers>
where 2010.?.?.? should be replaced with the version number of the Keyoti2.SearchEngine.Web DLL.

IIS 7

Add inside the system.webServer section.
<staticContent>
	<mimeMap mimeType="text/html" fileExtension=".ashx"/>
</staticContent>
<handlers>
	<add name="Keyoti_SearchEngine_Web_CallBackHandler_ashx" verb="*" preCondition="integratedMode" 
	path="Keyoti.SearchEngine.Web.CallBackHandler.ashx" 
	type="Keyoti.SearchEngine.Web.CallBackHandler, Keyoti2.SearchEngine.Web,
	Version=2010.?.?.?, Culture=neutral, PublicKeyToken=58d9fd2e9ec4dc0e"/>
</handlers>
where 2010.?.?.? should be replaced with the version number of the Keyoti2.SearchEngine.Web DLL.

.NET 1.1

Set the ResultPreviewerEnabled property of the SearchResult control to True. The web.config must be opened and the following added inside the system.web section - ensure the "add verb" element is all on one line when you paste.

IIS 6

Add inside the system.web section.
    <httpHandlers>
       <add verb="*" path="Keyoti.SearchEngine.Web.CallBackHandler.ashx" 
		type="Keyoti.SearchEngine.Web.CallBackHandler,Keyoti.SearchEngine.Web, 
			Version=2010.?.?.?, Culture=neutral, PublicKeyToken=58d9fd2e9ec4dc0e"/>
    </httpHandlers>
where 2010.?.?.? should be replaced with the version number of the Keyoti.SearchEngine.Web DLL.

IIS 7


Add inside the system.webServer section.
<staticContent>
	<mimeMap mimeType="text/html" fileExtension=".ashx"/>
</staticContent>
<handlers>
	<add name="Keyoti_SearchEngine_Web_CallBackHandler_ashx" verb="*" preCondition="integratedMode" 
	path="Keyoti.SearchEngine.Web.CallBackHandler.ashx" 
	type="Keyoti.SearchEngine.Web.CallBackHandler, Keyoti.SearchEngine.Web,
	Version=2010.?.?.?, Culture=neutral, PublicKeyToken=58d9fd2e9ec4dc0e"/>
</handlers>
where 2010.?.?.? should be replaced with the version number of the Keyoti.SearchEngine.Web DLL.
Client side files
The installer automatically registers a virtual directory called Keyoti_SearchEngine_Web_Common which holds the necessary scripts. This is used by the AJAX features and needs to be present on the development and deployment machines.